From: Cosimo Cecchi Date: Tue, 27 Aug 2013 20:47:19 +0000 (-0700) Subject: Remove an explicit destroy to the ClutterText actor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~313 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e2838a7e06508cd412592e621572d7fda27130ec;p=gnome-shell.git Remove an explicit destroy to the ClutterText actor This is the same as the previous commit, but for StEntry. We don't have any need to explicitly destroy this actor in our dispose implementation, and doing so breaks the assumption that we can access the clutter_text from within destroy. https://bugzilla.gnome.org/show_bug.cgi?id=783483 --- diff --git a/src/st/st-entry.c b/src/st/st-entry.c index 264f95657..0fa928767 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -230,12 +230,6 @@ st_entry_dispose (GObject *object) StEntryPrivate *priv = ST_ENTRY_PRIV (entry); GdkKeymap *keymap; - if (priv->entry) - { - clutter_actor_destroy (priv->entry); - priv->entry = NULL; - } - keymap = gdk_keymap_get_for_display (gdk_display_get_default ()); g_signal_handlers_disconnect_by_func (keymap, keymap_state_changed, entry);